.Net Framework > v3.5.21022.8 > System > DirectoryServices > AccountManagement > PrincipalCollection > Add Add(ComputerPrincipal)
Add(GroupPrincipal)
Add(Principal)
Add(PrincipalContext,IdentityType,String)
Add(UserPrincipal)


Add(ComputerPrincipal)

Category
Method
Description
Adds the specified System.DirectoryServices.AccountManagement.ComputerPrincipal object to the end of the collection
Type
void
Character
public
Parameters
NameTypeDescription
computerComputerPrincipal
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Add(GroupPrincipal)

Category
Method
Description
Adds the specified System.DirectoryServices.AccountManagement.GroupPrincipal object to the end of the collection
Type
void
Character
public
Parameters
NameTypeDescription
groupGroupPrincipal
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Add(Principal)

Category
Method
Description
Adds the specified System.DirectoryServices.AccountManagement.Principal object to the end of the collection
Type
void
Character
public, Sealed
Parameters
NameTypeDescription
principalPrincipal
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Add(PrincipalContext,IdentityType,String)

Category
Method
Description
Searches for a System.DirectoryServices.AccountManagement.Principal object that matches the parameters, and adds it to the end of the collection.
Type
void
Character
public
Parameters
NameTypeDescription
contextPrincipalContext
identityTypeIdentityType
identityValueString
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Add(UserPrincipal)

Category
Method
Description
Adds the specified System.DirectoryServices.AccountManagement.UserPrincipal object to the end of the collection
Type
void
Character
public
Parameters
NameTypeDescription
userUserPrincipal
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database